package com.zyh.server.service;

import com.zyh.server.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zyh.server.utils.R;
import com.zyh.server.vo.LoginVO;
import org.springframework.stereotype.Service;

/**
* @author ZYH
* @description 针对表【t_user】的数据库操作Service
* @createDate 2024-11-12 11:22:52
*/
@Service
public interface UserService extends IService<User> {
	/**
	 * service层用户登录的接口
	 * @param loginVO
	 * @return
	 */
	R findUserByUsernameAndPassword(LoginVO loginVO);

	R modifyUserInfo(String token,User user);
}
